﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Lidgren.Network;

namespace Providers.LiveControl.Server
{
  public  class SendConfig
  {
      public static NetDeliveryMethod ScreenNetDeliveryMethod = NetDeliveryMethod.ReliableUnordered;

     

      public static void SetUnreliable()
      {
            ScreenNetDeliveryMethod = NetDeliveryMethod.Unreliable;
      }
        public static void SetUnreliableSequenced()
        {
            ScreenNetDeliveryMethod = NetDeliveryMethod.UnreliableSequenced;
        }
        public static void SetReliableUnordered()
        {
            ScreenNetDeliveryMethod = NetDeliveryMethod.ReliableUnordered;
        }
        public static void SetReliableSequenced()
        {
            ScreenNetDeliveryMethod = NetDeliveryMethod.ReliableSequenced;
        }
        public static void SetReliableOrdered()
        {
            ScreenNetDeliveryMethod = NetDeliveryMethod.ReliableOrdered;
        }
    }
}
